package com.manster.service;

import com.manster.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author manster
 * @since 2022-03-13
 */
public interface SysRoleService extends IService<SysRole> {

    //根据用户id获取角色
    List<SysRole> listRolesByUserId(Long userId);
}
